package com.galaxis.wms.security.handler;

import com.yvan.security.handler.AuthenticationSuccessHandler;
import com.yvan.security.model.event.AuthenticationSuccessEvent;
import org.springframework.core.Ordered;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 作者：lizw <br/>
 * 创建时间：2022/01/21 19:50 <br/>
 */
public class DefaultAuthenticationSuccessHandler implements AuthenticationSuccessHandler {
    @Override
    public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, AuthenticationSuccessEvent event) throws IOException, ServletException {
    }

    @Override
    public int getOrder() {
        return Ordered.LOWEST_PRECEDENCE;
    }
}
